
module Pan
  
  ### Normal (aka action) callback
  
  class Callback
    def initialize(block)
      @block = block
    end
    
    def invoke(session, arg)
      return unless @block
      @block.call(arg)
    end
  end
  
end
